@import '../../mixins/index.less';
@dialog-prefix-cls: ~'@{prefix}-dialog';
.@{dialog-prefix-cls} {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    &-body{
        margin: 0 auto;
        width: 600px;
        background-color: #eee;
        border-radius: 15px;
    }
    &-title{
        font-size: 32px;
        font-weight: 500;
        color: #222;
        line-height: 40px;
        text-align: center;
        padding: 67px 0 58px 0;
        &.withMessage{
          padding:  40px 0 30px 0;
        }
    }
    &-message{
        font-size: 26px;
        color: #666;
        margin-bottom: 30px;
        padding: 0 30px;
        text-align: center;
    }
    &-btn-group {
        display: flex;
        border-top: 1px solid #EEEEEE;
      }
    
      &-btn-cancel,
      &-btn-confirm {
        flex: 1;
        font-size: 34px;
        font-weight: 500;
        color: #999;
        line-height: 40px;
        text-align: center;
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      &-btn-cancel {
        border-right: 1px solid #EEEEEE;;
      }
    
      &-btn-confirm {
        color: #F93E52;
      }
      // 默认样式复写
    .rmc-dialog {
        margin: 0;
    }
    .rmc-dialog-body {
        padding: 0;
    }
    .rmc-dialog-content {
        border-radius: 0;
        background-color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}